<!DOCTYPE html>
<html lang="en">
<head>
    <meta name="layout" content="bocMain"/>
    <title>进件作业系统</title>
</head>

<body>
<header class="header-title">家访验证</header>
<g:form action="materialFamilyVisitValidationSave" method="post" class="myForm">
    <input type="hidden" name="id" id="id" value="${this?.opportunity?.id}">
    <input type="hidden" name="displayOrder" value="${this?.params?.displayOrder}">

    <div class="weui-cells__title vef-tit">家访证明材料</div>
    <input type="hidden" name="streetUrl" id="streetUrl">
    <input type="hidden" name="communityUrl" id="communityUrl">
    <input type="hidden" name="unitUrl" id="unitUrl">
    <input type="hidden" name="houseDoorUrl" id="houseDoorUrl">
    <input type="hidden" name="parlorUrl" id="parlorUrl">
    <input type="hidden" name="kitchenUrl" id="kitchenUrl">
    <div class="weui-cells weui-cells_form attachmentBox">
        <div class="weui-cell__bd">
            <div class="weui-uploader">
                <div class="weui-uploader__hd">
                    <p class="weui-uploader__title">点击拍摄/上传(街道照片-含街道名称)</p>
                </div>
                <div class="weui-uploader__bd">
                    <ul class="weui-uploader__files" id="streetUploaderFiles">
                    </ul>

                    <div class="weui-uploader__input-box">
                        <input class="weui-uploader__input" type="file" name="street" accept="image/*" multiple id="street">
                    </div>
                </div>
            </div>
        </div>
    </div>

    <div class="weui-cells weui-cells_form attachmentBox">
        <div class="weui-cell__bd">
            <div class="weui-uploader">
                <div class="weui-uploader__hd">
                    <p class="weui-uploader__title">点击拍摄/上传(小区(社区)</p>
                </div>
                <div class="weui-uploader__bd">
                    <ul class="weui-uploader__files" id="communityUploaderFiles">
                    </ul>

                    <div class="weui-uploader__input-box">
                        <input class="weui-uploader__input" type="file" name="community" accept="image/*" multiple id="community">
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="weui-cells weui-cells_form attachmentBox">
        <div class="weui-cell__bd">
            <div class="weui-uploader">
                <div class="weui-uploader__hd">
                    <p class="weui-uploader__title">点击拍摄/上传(单元门头)</p>
                </div>
                <div class="weui-uploader__bd">
                    <ul class="weui-uploader__files" id="unitUploaderFiles">
                    </ul>

                    <div class="weui-uploader__input-box">
                        <input class="weui-uploader__input" type="file" name="unit" accept="image/*" multiple id="unit">
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="weui-cells weui-cells_form attachmentBox">
        <div class="weui-cell__bd">
            <div class="weui-uploader">
                <div class="weui-uploader__hd">
                    <p class="weui-uploader__title">点击拍摄/上传(房门头照)</p>
                </div>
                <div class="weui-uploader__bd">
                    <ul class="weui-uploader__files" id="houseDoorUploaderFiles">
                    </ul>

                    <div class="weui-uploader__input-box">
                        <input class="weui-uploader__input" type="file" name="houseDoor" accept="image/*" multiple id="houseDoor">
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="weui-cells weui-cells_form attachmentBox">
        <div class="weui-cell__bd">
            <div class="weui-uploader">
                <div class="weui-uploader__hd">
                    <p class="weui-uploader__title">点击拍摄/上传(客厅（办公室))</p>
                </div>
                <div class="weui-uploader__bd">
                    <ul class="weui-uploader__files" id="parlorUploaderFiles">
                    </ul>

                    <div class="weui-uploader__input-box">
                        <input class="weui-uploader__input" type="file" name="parlor" accept="image/*" multiple id="parlor">
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="weui-cells weui-cells_form attachmentBox">
        <div class="weui-cell__bd">
            <div class="weui-uploader">
                <div class="weui-uploader__hd">
                    <p class="weui-uploader__title">点击拍摄/上传(厨房(办公室))</p>
                </div>
                <div class="weui-uploader__bd">
                    <ul class="weui-uploader__files" id="kitchenUploaderFiles">
                    </ul>

                    <div class="weui-uploader__input-box">
                        <input class="weui-uploader__input" type="file" name="kitchen" accept="image/*" multiple id="kitchen">
                    </div>
                </div>
            </div>
        </div>
    </div>

</g:form>

 <div class="bigBtn">
     <button type="button" class="weui-btn weui-btn_primary" id="submit">下一步</button>
 </div>
<asset:javascript src="boc/multipleUpload.js"/>

<script>

    $(function ()
    {
        $("#submit").click(function () {

            $(".myForm").submit();
        })

    })

</script>
</body>
</html>
